#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QWidget>

#include "phoneloginwidget.h"

class LoginWidget : public QWidget
{
    Q_OBJECT
  public:
    explicit LoginWidget(QWidget *parent = nullptr);
    void switchMode();

  private:
    QLabel      *_titleLabel;
    QLineEdit   *_usernameEdit;
    QLineEdit   *_passwordEdit;
    QLineEdit   *_verifyCodeEdit;
    QPushButton *_submitBtn;
    QPushButton *_phoneModeBtn;
    QPushButton *_switchModeBtn;

    bool _isLoginMode = true;

  signals:
};

#endif // LOGINWIDGET_H
